package edu.uit.se.slgroup.construct.dao;

import java.util.List;

import edu.uit.se.slgroup.construct.domain.Article;
import edu.uit.se.slgroup.construct.domain.ArticleTemp;

public interface ArticleDao {
	
	//insert
	public int insertArticle(Article article);
	
	//get list article
	public List<Article> getArticleList();
	
	//get list article
	public List<ArticleTemp> getArticleTempList();
	
	//get article
	public Article getArticleById(int id);
	
	//update
	public int updateArticle(Article article);
	
	//delete
	public int deleteArticle(int id);
}
